package com.wct.ssmdemo.controller;


import lombok.extern.slf4j.Slf4j;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;


/**
 * @author WEI (Email:changtan20000@163.com)
 * @description
 * @date 2020/1/15 15:01
 */
@Controller
@RequestMapping("/test")
@Slf4j
public class TestController {

    @ResponseBody
    @RequestMapping("/hello")
    public String hello() {
        log.info("hello");
         return "hello world";
    }
}
